import request from '@/utils/request'
/**
 * 列表
 * @param {*} data
 */
export function crmputinStatisticsIndexAPI(data) {
  return request({
    url: 'crmPutinStatistics/queryPageList',
    method: 'post',
    data: data,
    headers: {
      'Content-Type': 'application/json;charset=UTF-8'
    }
  })
}
/**
 * 列表
 * @param {*} data
 */
 export function crmPutinStatisticsAllianceBusinessIndexAPI(data) {
  return request({
    url: '/crmPutinStatisticsAllianceBusiness/queryPageList',
    method: 'post',
    data: data,
    headers: {
      'Content-Type': 'application/json;charset=UTF-8'
    }
  })
}
/**
 * 投放统计导出
 * @param {*} data
 *
 */
export function crmputinStatisticsExcelExportAPI(data) {
  return request({
    url: 'crmPutinStatistics/batchExportExcel',
    method: 'post',
    data: data,
    headers: {
      'Content-Type': 'application/json;charset=UTF-8'
    },
    responseType: 'blob'
  })
}
/**
 * 投放统计全部导出
 * @param {*} data
 */
export function crmputinStatisticsExcelAllExportAPI(data) {
  return request({
    url: 'crmPutinStatistics/allExportExcel',
    method: 'post',
    data: data,
    responseType: 'blob',
    headers: {
      'Content-Type': 'application/json;charset=UTF-8'
    }
  })
}
